package app.util.image.action
{
	import app.util.*;
	import app.util.image.calc.*;
	
	import flash.display.*;
	import flash.filters.*;
	import flash.geom.*;
	
	public class SobelAction extends AbstractAction
	{		
		public override function getDescription():String
		{
			return "Sobel Operator";
		}
		
		public override function getActionedBitmapData():BitmapData
		{
			var old:BitmapData = Mediator.getCurrentBitmapData();
			return EdgeDetector.getSobelEdge(old);
		}
	}
}